package ClassPractice;

public class Rectangle extends Geometry{
    double length;
    double width;
    public Rectangle(double length,double width) {
        this.length = length;
        this.width = width;
    }
    public double getArea() {
        return length*width;
    }
}
